


import 'package:baby/Entities/Article/Article.dart';

class ArticleCategory {
  String label;
  String avatarUrl;
  List<Article> articles;

  ArticleCategory({this.label, this.articles, this.avatarUrl}) {
    this.articles = this.articles ?? [];
    this.articles.forEach((article) => article.category = this);
  }
}